package com.example.echars.controller;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("echarts")
public class TestController {
    @PostMapping("test")
    public void test(@RequestParam Integer id, String name){
        System.out.println(id);
        System.out.println(name);
    }
}
